﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class admin_AdminMasterPage : System.Web.UI.MasterPage
{
    protected string name = null;
    protected void Page_Load(object sender, EventArgs e)
    {

        if (Session["name"] != null)
        {
            name = Session["name"].ToString();
        }
        else
        {
            Response.Write("<script language='javascript'>window.location='../Admin/Default.aspx'</script>");
        }
    }
}
